package com.qf.blog.controller;

import com.qf.blog.service.MessageService;
import com.qf.blog.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * User: key
 * ClassName:NoticeDetailController
 * Date: 2023/6/12
 * Time: 16:48
 * description:
 */
@Controller
@RequestMapping("/notice/detail")
public class NoticeDetailController {
    @Autowired
    private UserService userService;

    @Autowired
    private StringRedisTemplate redisTemplate;

    @Autowired
    private MessageService messageService;
    @RequestMapping("/follow")
    public String follow(ModelMap modelMap){

        return "site/notice-detail";
    }
}
